Skip to content

[codex] Improve macosrsr table tests#99

Draft
grahamgilbert wants to merge 1 commit into
mainfrom
codex/macosrsr-tests
Draft

[codex] Improve macosrsr table tests#99
grahamgilbert wants to merge 1 commit into
mainfrom
codex/macosrsr-tests

Conversation

@grahamgilbert
Copy link
Copy Markdown
Member

Summary

  • add macosrsr column and generator coverage
  • make SystemVersion.plist reads and sw_vers calls injectable for deterministic tests
  • cover unsupported macOS versions, sw_vers failures, invalid versions, and invalid plist input

Validation

  • GOCACHE=/tmp/osquery-extension-go-cache go test ./tables/macosrsr
  • GOCACHE=/tmp/osquery-extension-go-cache go test ./...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant